package cc.greencat.gcmall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

/**
 * 属性&属性分组关联
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-23 21:48:19
 */
@TableName("product_attr_group_relation")
public class AttrGroupRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
    @TableId
    private Long id;
	/**
	 * 属性id
	 */
    private Long attrId;
	/**
	 * 属性分组id
	 */
    private Long attrGroupId;
	/**
	 * 属性组内排序
	 */
    private Integer attrSort;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 属性id
	 */
    public void setAttrId(Long attrId){
        this.attrId = attrId;
    }
    /**
	 * get 属性id
	 */
    public Long getAttrId(){
        return this.attrId;
    }
	/**
	 * set 属性分组id
	 */
    public void setAttrGroupId(Long attrGroupId){
        this.attrGroupId = attrGroupId;
    }
    /**
	 * get 属性分组id
	 */
    public Long getAttrGroupId(){
        return this.attrGroupId;
    }
	/**
	 * set 属性组内排序
	 */
    public void setAttrSort(Integer attrSort){
        this.attrSort = attrSort;
    }
    /**
	 * get 属性组内排序
	 */
    public Integer getAttrSort(){
        return this.attrSort;
    }

}
